FROM python
WORKDIR /home/fastapi
COPY . .

RUN pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple

EXPOSE 9002

CMD ["uvicorn", "app.main:app", "--reload", "--host", "0.0.0.0", "--port", "9002"]